From 0b0f1776e0f375721f1be9c59eb6ad7fea1c60d9 Mon Sep 17 00:00:00 2001 From: oliskoli Date: Thu, 21 Aug 2008 21:24:46 +0000 Subject: [PATCH] mkchangelog: Try to replace some unhandled html operators. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@3375 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/tools/mkchangelog | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gpsbabel/tools/mkchangelog b/gpsbabel/tools/mkchangelog index 9d1a27d40..52043f041 100755 --- a/gpsbabel/tools/mkchangelog +++ b/gpsbabel/tools/mkchangelog @@ -8,6 +8,8 @@ LANG='POSIX'; export LANG > /dev/null +sed -e 's/^[ \t]*//;s/[ \t]*$//' | # trim leading and trailing spaces +sed -e 's/ < / \< /g' -e 's/ > /\> /g' | # try replace some unhandled html operators sed -e :a -e 's/<[^<]*>/ /g;//g' -e 's/</\